#ifndef EGG_FRAMEEVENT_H
#define EGG_FRAMEEVENT_H

#include "SceneGraph.h"

namespace egg{

    class FrameEvent{
    public:
        FrameEvent(){
            mInterval=0.0f;
        }

        inline float getInterval() const{
            return mInterval;
        }
        inline float getFPS() const{
            return 1.0f/mInterval;
        }
    protected:
        float mInterval;
    };

}

#endif